package com.yang.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户事件表(UserThings)实体类
 *
 * @author yangdacheng
 * @since 2022-03-02 19:11:03
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true) //开启链式编写
public class UserThings implements Serializable {
    private static final long serialVersionUID = -73062836219946450L;
    /**
    * 用户事件编号
    */
    private String userThingsId;
    /**
    * 用户编号
    */
    private String userid;
    /**
    * 事件编号
    */
    private String thingsId;
    /**
     * 事件
     */
    private NoteThings noteThings;
}